﻿using System;
using SqlHelper;

namespace Model.Content
{
   public class Category:EntityBase
    {
        public Category()
        {
            PrimaryKey = "CategoryID";
            TableName = "TCategory";
            AllField = "CategoryID,CategoryName,ParentID,CreateTime,UpdateTime,IsDelete,UserID";
            KeyStatus = KeyStatus.Identity;
            OrderBy = " order by CategoryID asc ";
        }

        public int? CategoryID { set; get; }

        public int? ParentID { set; get; }

        public int? IsDelete { set; get; }

        public int? UserID { set; get; }

        public string CategoryName { set; get; }

        public DateTime? CreateTime { set; get; }

        public DateTime? UpdateTime { set; get; }
    }
}
